package com.bdqn.boot.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author Hasee
 * @version 1.0
 * @className User
 * @description TODD
 * @date 2025/2/19 15:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User {
    private Integer id;
    private String name;
    private Integer age;

    public User(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
    public User(String name , Integer age) {
        this.age = age;
        this.name = name;
    }
}
